function submitTrans(){
    var paras={
        "memo":$("#memo").val()
    }
    $.ajax({
        type:"post",
        dataType:"json",
        url:top.tophead.ctxpath+"/sample/TransactionCtrl!transactionTest.do",
        data:paras,
        success:function(result){
            alert(result.resObj);
            $("#retMsg").html(result.resObj);
        }});
}

function getTabTest(){
    var tabId=$("#memo").val();
    var selTab=top.workframe.getTab(tabId);
    if(selTab!=null){
        alert("selTab="+selTab+",tabId="+tabId);
        var tabDocu=selTab.document;
        alert("selTabVal="+tabDocu.myform.mailContent.value);
    }
}
function submitGetKey(){
    var paras={
        "memo":$("#memo").val()
    }
    $.ajax({
        type:"post",
        dataType:"json",
        url:top.tophead.ctxpath+"/sample/TransactionCtrl!getPKey.do",
        data:paras,
        success:function(result){
            alert(result.resObj);
            $("#retMsg").html(result.resObj);
        }});
}
function submitGetKeyOra(){
    var paras={
        "memo":$("#memo").val()
    };
    $.ajax({
        type:"post",
        dataType:"json",
        url:top.tophead.ctxpath+"/sample/TransactionCtrl!getPKeyOra.do",
        data:paras,
        success:function(result){
            alert(result.resObj);
            $("#retMsg").html(result.resObj);
        }});
}